package com.shop.usercenter.repository;

import com.shop.usercenter.entity.User;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends BaseJpaRepository<User, String> {
    User findUserByName(@Param("name") String name);
}
